package com.westa.smallshop.data.source;

import com.alibaba.fastjson.JSONObject;
import com.westa.smallshop.data.source.remote.BaseDataSource;

/**
 * Created by cy on 11/3/16.
 */

public interface AccountDataSource extends BaseDataSource {

    void login(String account, String password, LoadCallBack<JSONObject> loadCallBack);

    void register(String account, String password, LoadCallBack<JSONObject> loadCallBack);
}
